package thread;

public class ThreadTest {

	public static void main(String[] args) throws Exception{
		System.out.println("hello");
		MyThread mt=new MyThread();
		Thread t=new Thread(mt);
		t.setDaemon(true);
		t.start();
		System.out.println("!");
		System.out.println(Thread.currentThread().getName());
	}

}
